package cn.edu.scau.cmi.mengzhuorong.composite.consistent;

import java.util.HashSet;
import java.util.Set;


public abstract class Organization {

	Organization parent;
	Set<Organization> children = new HashSet<Organization>();
	public abstract Organization addChild(Organization child);
	public abstract Organization removeChild(Organization child);
	public abstract Organization getParent();
	public abstract void setParent(Organization parent);
	public abstract  Set<Organization> getChildren();
	public abstract void setChildren(Set<Organization> child);
	
}
